// Constants

export const API_BASE_URL = '/api';

export const WS_URL = `ws://${window.location.host}/ws`;

export const ROUTES = {
  LOGIN: '/login',
  DASHBOARD: '/dashboard',
  USERS: '/users',
  TRAFFIC: '/traffic',
  SETTINGS: '/settings',
} as const;

export const STORAGE_KEYS = {
  TOKEN: 'auth-token',
  USERNAME: 'username',
} as const;

export const REFRESH_INTERVAL = 5000; // 5 seconds

export const CHART_COLORS = {
  UPLOAD: '#8884d8',
  DOWNLOAD: '#82ca9d',
} as const;
